#ifndef __DARK_MAGE_H__
#define __DARK_MAGE_H__
#include "gofgame/dungeonkeeper/game/Unit.h"

namespace gofgame {
	namespace dungeonkeeper {
		namespace game {
			namespace unit {
				class DarkMage : public Unit{
				public:
					DarkMage();
					~DarkMage();
					bool init();
					void initData();
					void doAI();
					virtual void attack(Target *attackTarget);
					void playFlyItem(CCPoint point);
					static DarkMage * createByLevel(int lv);
					void initMyAnimate();
					void onFlyItemFinish(CCNode *psender,void* data);
				private:
					CCAnimate *flayItemAnimate;
				};
			}
		}
	}
}

#endif //__DARK_MAGE_H__
